package modules.majiang
{
	import modules.GameEvent;

	/**
	 * 麻将游戏事件
	 * @author xumin.xu
	 */
	public class MajiangEvent extends GameEvent
	{
		/**
		 * 进入桌子
		 */
		public static const ENTER_TABLE_ACK:String = "enterTableAck";

		/**
		 * 更新麻将桌子界面中显示
		 **/
		public static const UPDATE_MAJIANG_TABLE_VIEW:String = "updateMajiangTableView";

		/**
		 * 更新开始倒计时 
		 */		
		public static const UPDATE_COUNTDOWN_NUMBER:String = "updateCountdownNumber";
		
		/**
		 * 开始摇色子
		 **/
		public static const WAVE_PARTICLE_START:String = "waveParticleStart";

		/**
		* 比赛结束10后清空桌面
		**/
		public static const CLEAR_TABLE_INFO:String = "clearTableInfo"

		/**
		* 发牌动画结束
		**/
		public static const FETCH_EFFECT_FINISH:String = "fetchEffectfinish";
		
		/**
		* 出牌动画结束
		**/
		public static const DISCARD_EFFECT_FINISH:String = "discardEffectfinish";
		
		/**
		* 投赌注动画结束
		**/
		public static const CHIPS_TOPOT_EFFECT_FINISH:String = "chipsTopotEffectFinish";
		
		/**
		* 投赌注动画结束
		**/
		public static const CHIPS_FROMPOT_EFFECT_FINISH:String = "chipsFrompotEffectFinish";
		
		/**
		 * 显示购买界面 
		 */		
		public static const SHOW_CASHIER_VIEW:String = "showCashierView";
		
		/**
		 * 关闭购买界面 
		 */		
		public static const CLOSE_CASHIER_VIEW:String = "closeCashierView";
		
		/**
		 * 显示自动购买界面 
		 */		
		public static const SHOW_AUTOTOPUP_UI:String = "showAutotopupUI";
		
		/**
		 * 关闭自动购买界面 
		 */		
		public static const CLOSE_AUTOTOPUP_UI:String = "closeAutotopupUI";
		
		/**
		 * 获取发的牌 
		 */		
		public static const GET_FETCH_CARD:String = "getFetchCard";
		
		/**
		 * 获取发牌的目的信息
		 */		
		public static const GET_FETCH_INFO:String = "getFetchInfo";
		
		/**
		 * 获取出牌
		 */		
		public static const GET_DISCARD:String = "getDiscard";
		
		/**
		 * 获取我出牌的位置
		 */		
		public static const GET_OWN_DISCARD_INDEX:String = "getOwnDiscardIndex";
		
		/**
		 * 获取桌面上的牌 
		 */		
		public static const GET_CARDPOT_CARD:String = "getCardpotCard";
		
		/**
		 * 获取飞出的筹码
		 */		
		public static const GET_FLY_CHIP:String = "getFlyChip";
		
		public function MajiangEvent(type:String, data:* = null)
		{
			super(type,data);
		}

	}
}
